<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>分隔线</title>
    <style>
        .line {
            width: 600px;
            height: 2px;
            background-image: linear-gradient(to right, transparent,  #666 , transparent);
            margin: 20px 0;
        }
    </style>
</head>
<body>
    <div class="line"></div>
</body>
</html>
